﻿using System.Collections.Generic;
using imeem.api;

namespace imeem.services
{
    public class UserService : imeemService
    {
        public void Login(string userId, string password, bool keepLoggedIn)
        {
            Dictionary<string, string> parameters = new Dictionary<string, string>();
            parameters.Add("username", userId);
            parameters.Add("password", password);
            parameters.Add("keepLoggedIn", keepLoggedIn.ToString().ToLower());

            imeemResult result = base.MakeRequest(imeem.dal.methods.User.UsersLogin, parameters);
        }

        public void GetCurrentUser()
        {
            Dictionary<string, string> parameters = new Dictionary<string, string>();
            imeemResult result = base.MakeRequest(imeem.dal.methods.User.UsersGetCurrenctUser, parameters);
        }
    }
}
